Media playback is unsupported on your device Media caption David Cameron: "What we need in Britain is a renegotiation of our relationship with the European Union"

David Cameron is to set out further plans to curb the rights of EU migrants to work in the UK by Christmas, insisting the British people and not Brussels officials are his "boss".

No 10 is said to be examining several options but no decision has been taken.

Outgoing European Commission head Jose Manuel Barroso suggested an "arbitrary cap" on migrants would not be accepted.

But Mr Cameron said he would "fix" the issue. Labour and the Lib Dems criticised his stance.

Downing Street has rejected claims it risks alienating other member states and putting its EU membership in doubt.

BBC political editor Nick Robinson said it was not clear what the new measures would be or whether the prime minister would announce them before the Rochester and Strood by-election on 20 November, where the Tories are trying to prevent UKIP from snatching the seat.

'Fix it'

In recent days, it has been reported that the UK could seek an "emergency brake" to stop EU migration after it reached a certain level or to limit the number of National Insurance numbers issued to new arrivals from the EU.

Mr Cameron has said the relationship with the EU will be reformed ahead of an in/out referendum, to be held by the end of 2017, if his Conservative Party gains a majority at next year's general election.

Analysis by political editor Nick Robinson

The prime minister will announce plans to limit EU migration before Christmas but the search is still on for a way to do this without needing to re-write the founding treaty of the EU - the Treaty of Rome - which enshrines the principle of the freedom of movement of people.

There is some frustration amongst the prime minister's advisers that ideas are leaking out before they have had proper time to assess them.

That, of course, is the problem with simultaneously trying to solve a political problem - the rise of UKIP - by talking up how tough you'll be in Europe at the same time as considering whether any of your promises will be agreed to by 27 other EU countries.

Read more from Nick

Speaking on a visit to Essex on Monday, the prime minister said: "I'm very clear about who the boss is, about who I answer to and it's the British people. They want this issue fixed, they're not being unreasonable about it and I will fix it."

Mr Barroso has warned that the PM's hopes of curbing EU immigration could be illegal.

In a speech at think tank Chatham House in London, he repeated his view that an "arbitrary cap" on immigration would not accepted by other EU states, saying the EU was willing to "accommodate the UK's legitimate concerns" but not if they challenged the fundamental principles of the organisation.

Media playback is unsupported on your device Media caption Jose Manuel Barroso said he did not want ''a relentless march to one single super state, as some will have us fear''

He acknowledged "widespread concerns in the UK and elsewhere about abuse of free movement rights". But he added: "Changes to these rules need all countries to agree. And it is an illusion to believe that space for dialogue can be created if the tone and substance of the arguments you put forward question the very principle at stake and offend fellow member states."

Continued EU membership, he argued, was in the UK's economic, political and security interest and he urged pro-EU politicians to make the case more loudly for its benefits.

Mr Barroso rejected suggestions there was "a relentless march towards a superstate" in the EU, saying he believed in an "ever-closer union of the peoples of Europe acting as sovereign nations".

He warned against "counter-revolution" within the 28-member body, saying that for countries which "accept the rules of the club there will always be a place and equality of treatment".

In a question-and-answer session with journalists and business leaders, Mr Barroso challenged those who wanted to leave the EU to set out their alternative vision for the UK's future.

"There are always alternatives but it would be a worse alternative," he said.

And he dismissed criticism of him by Conservative chairman Grant Shapps as an "unelected bureaucrat".

Mr Barroso, whose terms of office ends next month, said he had spent years in government before becoming EC president, had twice been elected as president by the elected members of the European Parliament and said the commission was created by member states not some "supernatural authority". He added that he was not aware of who Mr Shapps was.

'Final destination'

Conservative backbench MP Bernard Jenkin suggested Parliament could pass a law introducing a cap on EU migration by the end of the year and the issue would then be a political rather than a legal one.

The Lib Dems and Labour support more limited reforms to migration rules focused on new EU member states.

Media playback is unsupported on your device Media caption Nigel Farage: "Either we exit the European Union, and we have control of who comes into Britain, or we don't"

Labour said Mr Cameron had a history of making "big promises on immigration and not delivering".

Lib Dem Business Secretary Vince Cable said: "I worry that in this attempt to appease UKIP supporters we are putting at risk our participation in this group which affects hundred of thousands, millions of jobs in the UK."

UKIP MP Douglas Carswell told the BBC's Daily Politics the prime minister was being forced into a "panic reaction" ahead of the Rochester poll and was wrongly seeking to "pretend you can remain in this club and control who comes into the country".

Employers' group the CBI said business recognised the free movement of workers within the EU was a "sensitive" issue but believed that it was "an essential part of the single market".